package com.indexingsystem.boss.Vo;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

public class ProductThemeTableAuditReqVo implements Serializable {

    private String token;
    private String username;
    private Integer taskId;
    private String productId;
    private Integer themeTableId;
    private Integer checkStatus;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getThemeTableId() {
        return themeTableId;
    }

    public void setThemeTableId(Integer themeTableId) {
        this.themeTableId = themeTableId;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public boolean isNotBlank() {
        return StringUtils.isNotBlank(username) && taskId != null && StringUtils.isNotBlank(productId) && themeTableId != null && checkStatus != null;
    }

    @Override
    public String toString() {
        return "ProductThemeTableAuditReqVo{" +
                "token='" + token + '\'' +
                ", username='" + username + '\'' +
                ", taskId=" + taskId +
                ", productId='" + productId + '\'' +
                ", themeTableId=" + themeTableId +
                ", checkStatus=" + checkStatus +
                '}';
    }
}
